package cn.bellychang.whiteboard;

/**
 * @author ChangLiang
 * @date 2021/3/15
 */
public class LazySingleton {

    private LazySingleton(){}

    private static class Holder{
        private static final LazySingleton INSTANCE = new LazySingleton();
    }

    public static LazySingleton getInstance(){
        return Holder.INSTANCE;
    }
}
